import configparser

# 创建配置文件对象
config = configparser.ConfigParser()

# 读取配置文件
config.read('relay_configuration.ini', encoding='utf-8')

# 获取配置项的值

Support_heating = config.getint('Settings', 'Support_heating')
# 支架加热
Outlet_heating = config.getint('Settings', 'Outlet_heating')
# 出口加热
Dehumidification_cooling_valve = config.getint('Settings', 'Dehumidification_cooling_valve')
# 除湿降温阀
Electrode_flushing_water_valve = config.getint('Settings', 'Electrode_flushing_water_valve')
# 电极水冲洗阀
Measuring_valve = config.getint('Settings', 'Measuring_valve')
# 测量阀
Service_valve = config.getint('Settings', 'Service_valve')
# 检修阀
Protection_fluid_deliver_pump = config.getint('Settings', 'Protection_fluid_deliver_pump')
# 保护液输送泵
Buffer_fluid_4_deliver_pump = config.getint('Settings', 'Buffer_fluid_4_deliver_pump')
# 缓冲液4输送泵
Cleaning_fluid_deliver_pump = config.getint('Settings', 'Cleaning_fluid_deliver_pump')
# 清洗液输送泵
Buffer_fluid_6_deliver_pump = config.getint('Settings', 'Buffer_fluid_6_deliver_pump')
# 缓冲液6输送泵
Imported_heating = config.getint('Settings', 'Imported_heating')
# 进口加热
Heating_box_bottom = config.getint('Settings', 'Heating_box_bottom')
# 箱内底部加热
Heating_box_top = config.getint('Settings', 'Heating_box_top')
# 箱内顶部加热
Run_signal = config.getint('Settings', 'Run_signal')
# 运行信号
Error_signal = config.getint('Settings', 'Error_signal')
# 故障信号
PH_cut = config.getint('Settings', 'PH_cut')
# PH切除
Cleaning_fluid_Insufficient = config.getint('Settings', 'Cleaning_fluid_Insufficient')
# 清洗液不足
Protection_fluid_Insufficient = config.getint('Settings', 'Protection_fluid_Insufficient')
# 保护液不足
Buffer_fluid_Insufficient = config.getint('Settings', 'Buffer_fluid_Insufficient')
# 缓冲液不足
Bracket_water_flushing = config.getint('Settings', 'Bracket_water_flushing')
# 支架水冲洗
